package cn.com.xf.web.form;

import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;

public class VisitorForm extends BaseForm{
	
	private String vid;
	@NotEmpty(message="访客姓名不能为空")
    private String vname;

    private String certtype;

    private String cert;

    private String units;

    private String phone;

    private String depa;

    private String byvisitor;

    private String aim;

    private Date visittime;

    private Date outtime;

    private String username;

    private String vaudit;

    private String remark;
    
    private Integer peoplenum;
    
    private String code;
    
    private String appoint;
    
    private String appointtime;
    
    private String staffname;
    
    private String openid;
    
    private String userid;
    
    private String staffid;
    
    private String status;
    
    private String hashcode;
    
    private String visittimeStart;
    
    private String visittimeEnd;
    
    private String appointtimeStart;
    
    private String appointtimeEnd;
    
    private String photoname;
    
    private String photo;
	

	public String getPhotoname() {
		return photoname;
	}

	public void setPhotoname(String photoname) {
		this.photoname = photoname;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getVname() {
		return vname==null?null:vname.replaceAll("　| ", "");
	}

	public void setVname(String vname) {
		this.vname = vname;
	}

	public String getCerttype() {
		return certtype;
	}

	public void setCerttype(String certtype) {
		this.certtype = certtype;
	}

	public String getCert() {
		return cert==null?null:cert.replaceAll("　| ", "");
	}

	public void setCert(String cert) {
		this.cert = cert;
	}

	public String getUnits() {
		return units==null?null:units.replaceAll("　| ", "");
	}

	public void setUnits(String units) {
		this.units = units;
	}

	public String getPhone() {
		return phone==null?null:phone.replaceAll("　| ", "");
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getDepa() {
		return depa;
	}

	public void setDepa(String depa) {
		this.depa = depa;
	}

	public String getByvisitor() {
		return byvisitor==null?null:byvisitor.replaceAll("　| ", "");
	}

	public void setByvisitor(String byvisitor) {
		this.byvisitor = byvisitor;
	}

	public String getAim() {
		return aim;
	}

	public void setAim(String aim) {
		this.aim = aim;
	}

	public Date getVisittime() {
		return visittime;
	}

	public void setVisittime(Date visittime) {
		this.visittime = visittime;
	}

	public Date getOuttime() {
		return outtime;
	}

	public void setOuttime(Date outtime) {
		this.outtime = outtime;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getVaudit() {
		return vaudit;
	}

	public void setVaudit(String vaudit) {
		this.vaudit = vaudit;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getPeoplenum() {
		return peoplenum;
	}

	public void setPeoplenum(Integer peoplenum) {
		this.peoplenum = peoplenum;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAppoint() {
		return appoint;
	}

	public void setAppoint(String appoint) {
		this.appoint = appoint;
	}

	public String getAppointtime() {
		return appointtime;
	}

	public void setAppointtime(String appointtime) {
		this.appointtime = appointtime;
	}

	public String getStaffname() {
		return staffname;
	}

	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getStaffid() {
		return staffid;
	}

	public void setStaffid(String staffid) {
		this.staffid = staffid;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getHashcode() {
		return hashcode;
	}

	public void setHashcode(String hashcode) {
		this.hashcode = hashcode;
	}

	public String getVisittimeStart() {
		return visittimeStart;
	}

	public void setVisittimeStart(String visittimeStart) {
		this.visittimeStart = visittimeStart;
	}

	public String getVisittimeEnd() {
		return visittimeEnd;
	}

	public void setVisittimeEnd(String visittimeEnd) {
		this.visittimeEnd = visittimeEnd;
	}

	public String getAppointtimeStart() {
		return appointtimeStart;
	}

	public void setAppointtimeStart(String appointtimeStart) {
		this.appointtimeStart = appointtimeStart;
	}

	public String getAppointtimeEnd() {
		return appointtimeEnd;
	}

	public void setAppointtimeEnd(String appointtimeEnd) {
		this.appointtimeEnd = appointtimeEnd;
	}

	public String getVid() {
		return vid;
	}

	public void setVid(String vid) {
		this.vid = vid;
	}
    
	
        
}
